package com.nhjf.command.system;

import com.nhjf.command.BaseCommand;
import com.nhjf.model.system.User;


/**
 * 
 * @类功能说明：添加资源
 *
 */
@SuppressWarnings("serial")
public class CreateResourceCommand extends BaseCommand{
	
	/**
	 * 资源名称
	 */
	private String name;
	
	/**
	 * 资源路径
	 */
	private String url;
	
	/**
	 * 资源编号
	 */
	private Integer number;
	
	/**
	 * 父资源ID
	 */
	private Long parentId;
	
	/**
	 * 资源类型
	 * 1:模块
	 * 2:资源
	 * 3:新版后台模块
	 * 4:新版后台资源
	 */
	private Long type;
	
	/**
	 * 操作用户
	 */
	private User user;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}



	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}


	
	
	
	
	

}
